import React,{Component}from "react"
import "./index.css"
import {HashRouter,BrowserRouter,MemoryRouter,Route,Link,Switch,Prompt,Redirect,NavLink} from "react-router-dom"

class Nav extends Component{
    render(){
        return (
            <div className="nav">
                <ul>
                    <li><NavLink exact activeClassName="active"  to="/">进口水果</NavLink></li>
                    <li><NavLink exact activeClassName="active"  to="/Internal">国产水果</NavLink></li>
                    <li><NavLink exact activeClassName="active"  to="/Driedfd">干货珍菌</NavLink></li>
                    <li><NavLink exact activeClassName="active"  to="/Nut">坚果</NavLink></li>
                </ul>
            </div>
        )
    }
}
export default Nav